<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="com.location.bean.Userbean"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>



<% 
ArrayList<Userbean> list = (ArrayList<Userbean>)request.getAttribute("details");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
     <a href="${basePath}rest?transcode=000004&mobile=<%=list.get(0).getUmobilenum()%>"><%= list.get(0).getUname()%>定位到最后位置</a>
     <a href="${basePath}rest?transcode=000004&mobile=<%=list.get(1).getUmobilenum()%>"><%= list.get(1).getUname()%>定位到最后位置</a>
     <a href="${basePath}rest?transcode=000004&mobile=<%=list.get(2).getUmobilenum()%>"><%= list.get(2).getUname()%>定位到最后位置</a>
     <a href="${basePath}rest?transcode=000004&mobile=<%=list.get(3).getUmobilenum()%>"><%= list.get(3).getUname()%>定位到最后位置</a>
     <a href="${basePath}rest?transcode=000004&mobile=<%=list.get(4).getUmobilenum()%>"><%= list.get(4).getUname()%>定位到最后位置</a>
     <a href="${basePath}rest?transcode=000004&mobile=<%=list.get(5).getUmobilenum()%>"><%= list.get(5).getUname()%>定位到最后位置</a>
     <a href="${basePath}rest?transcode=000004&mobile=<%=list.get(6).getUmobilenum()%>"><%= list.get(6).getUname()%>定位到最后位置</a>
     <a href="${basePath}rest?transcode=000004&mobile=<%=list.get(7).getUmobilenum()%>"><%= list.get(7).getUname()%>定位到最后位置</a>
     <a href="${basePath}rest?transcode=000004&mobile=<%=list.get(8).getUmobilenum()%>"><%= list.get(8).getUname()%>定位到最后位置</a>
  </body>
</html>
